import { get } from '../utils/http';

// 获取正在热映的电影
export const getNowPlayingApi = async () => {
  let ret = await get('/api/v1/getNowPlayingFilmList?cityId=110100&pageNum=1&pageSize=10')
  return ret
}


// 根据id获取电影详情
export const getFilmDetailApi = async (id) => {
  let ret = await get(`/api/v1/getFilmInfo?filmId=${id}`)
  return ret
}